﻿aux_source_directory (. MAIN_WINDOW_SRC_DIR)
add_library(mianWindow ${MAIN_WINDOW_SRC_DIR})

target_link_libraries(mianWindow
    PUBLIC
    Qt6::Widgets Qt6::Core Qt6::Gui
)

#添加vtk 库
find_package(VTK REQUIRED)
include_directories(${VTK_INCLUDE_DIRS})
target_link_libraries(mianWindow
    PUBLIC
    ${VTK_LIBRARIES}
)	

#添加SARibbonBar 库
find_package(SARibbonBar REQUIRED)
include_directories(${SARibbonBar_INCLUDE_DIR})
target_link_libraries(mianWindow
    PUBLIC
    ${SARibbonBar_LIBRARIES}
)

message( STATUS "SARibbonBar_INCLUDE_DIR = ${SARibbonBar_INCLUDE_DIR}")
message( STATUS "SARibbonBar_LIBRARIES = ${SARibbonBar_LIBRARIES}")



	
   

